package com.chainshop.common.core.domain.pojo;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.chainshop.common.annotation.Excel;
import com.chainshop.common.core.domain.BaseEntity;

/**
 * 存储补货请求的对象 restock
 * 
 * @author ruoyi
 * @date 2024-08-06
 */
@Data
public class Restock extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 补货ID
     */
    private Long replenishId;

    /**
     * 店铺ID
     */
    @Excel(name = "店铺ID")
    private Integer storeId;

    /**
     * 店长姓名
     */
    private String managerName;

    /**
     * 店铺名称
     */
    @Excel(name = "店铺名称")
    private String storeName;

    /**
     * 提交时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String description;

    private List<RestockProduct> restockProducts;
}